Download and Configure Cycle Web
Download the domain binaries as mentioned in the Prerequisites section of this document.
Once downloaded, you can define the following environment variables at docker run time using the -e option in the command line or defining them in the cycle_env.dat file, which is the Cycle environment configuration file.
The environment configuration variables, that need to be set for the WebLogic admin server, managed servers, and application configuration are defined below:
| Configuration Parameters | Variables |
|---|---|
|
WebLogic Admin Server Hostname |
ADMIN_HOST |
|
Application Domain Name |
APP_DOMAIN_NAME |
|
WebLogic Admin Server Port |
ADMIN_PORT |
|
Coherence Cluster Name |
CLUSTER_NAME |
|
WebLogic Server Password |
ADMIN_PASSWORD |
|
Data Source Name |
DSNAME |
|
Data Source JNDI Name |
DSJNDINAME |
|
Data Source Database Name |
DSDBNAME |
| Database Driver Class | DSDRIVER |
| Database Connection URL | DSURL |
| Data Source Test Query | DSTESTQUERY |
| Data Source Maximum Capacity | DSMAXCAPACITY |
| READ-ONLY Data Source Name | READONLYDSNAME |
| READ-ONLY Data Source JNDI Name | READONLYDSJNDINAME |
| Resource Data Source Name | RESOURCEDSNAME |
| Resource Data Source JNDI Name | RESOURCEDSJNDINAME |
| Search Data Source Name | SEARCHDSNAME |
| Search Data Source JNDI Name | SEARCHDSJNDINAME |
| Database Username | DSUSERNAME |
| Database Password | DSPASSWORD |
| Database Username for READ-ONLY Data Source | READONLYDSUSERNAME |
| Database Password for READ-ONLY Data Source | READONLYDSPASSWORD |
| Database Username for Resource Data Source | RESOURCEDSUSERNAME |
| Database Password for Resource Data Source | RESOURCEDSPASSWORD |
| Database Username for Search Data Source | SEARCHDSUSERNAME |
| Database Password for Search Data Source | SEARCHDSPASSWORD |
| Cycle Application Name | CYCLE_APP_NAME |
| Application Machine Name | APP_MACHINE_NAME |
| Application Managed Server Name | APP_MSERVER_NAME |
| Application Managed Server Port | APP_MSERVER_PORT |
| Application Machine Port | APP_MACHINE_PORT |
| WebLogic Debug Port | DEBUG_PORT |
| AdminConsole Cycle Port | AC_CYCLE_PORT |
| External Library Path | EXT_LIB_PATH |
| ATP Compatibility | ATP_COMPLIANT |
| AdminConsole Port | ENABLE_AC |
| Spring JAR Name | SPRING_JAR |
DSDRIVER: Provide the Database driver based on the database used.
ORACLE: oracle.jdbc.driver.OracleDriver
MSSQL: com.microsoft.sqlserver.jdbc.SQLServerDriver
DSURL: Provide the DataSource Connection URL based on the database selected.
ORACLE: jdbc:oracle:thin:@//hostname:port/ServiceName
MSSQL: jdbc:sqlserver://hostname:port;databaseName=DatabaseName
Example: For SQL Server
When the encrypt property is set to true and the trustServerCertificate property is set to true, the Microsoft JDBC Driver for SQL Server won't validate the SQL Server TLS certificate. This setting is common for allowing connections in test environments, such as where the SQL Server instance has only a self-signed certificate.
jdbcUrl = jdbc:sqlserver://<host>:<port>;DatabaseName=<databasename>;encrypt=true;trustServerCertificate=true
ATP : jdbc:oracle:thin:@WALLET_DBNAME?TNS_ADMIN=/u01/oracle/externallibs/shared/atp/wallet/
Autonomous Transaction Processing Database (ATP) Variables
ATP Parameters and Variables
| ATP Configuration Parameters | Variables | Example |
|---|---|---|
| Wallet Location | WALLET | /u01/oracle/externallibs/shared/atp/wallet |
| SSL Version | SSL_VERSION | 1.2 |
| Keystore Type | KEYSTORE_TYPE | JKS |
| Keystore Password | KEYSTORE_PASSWORD | KeyStore_Password |
| Truststore Type | TRUSTSTORE_TYPE | JKS |
| Truststore Password | TRUSTSTORE_PASSWORD | TrueStore_Password |
| Fan Enable | FAN_ENABLED | fasle |
| SSL Server DN | SSL_SERVER_DN_MATCH | true |
Note:
1. The ATP_COMPLIANT variable denotes whether the application is in compliant with ATP or not. Choose the appropriate option before provisioning the environment.
2. The ENABLE_AC variable denotes whether the application is further connects to the Admin Console or not. Choose the appropriate option before provisioning the environment.